package com.gaoyuzhe.service;

import com.gaoyuzhe.entities.Payment;

public interface PaymentService {
    /**
     * 插入付款
     * @param payment 付款详情
     * @return 插入结果
     */
    int insert(Payment payment);

    /**
     * 通过id获取付款详情
     * @param id 付款id
     * @return 付款详情
     */
    Payment getPaymentById(Long id);
}
